<style>
.mssage{
		position: absolute;
  		z-index: 10;
		border: 1px solid #FF0000;
		background: #fbec88 url(../img/ui-bg_glass_95_fcd5c5_1x400.png) 50% 50% repeat-x;  
	    color: #cd0a0a;
    	height:17px;
     	width: 260px;
        margin: 0 auto;
        margin-bottom: 10px;
    	margin-top: 22px;
        margin-left: 170px;
    	padding: 5px;		
	}
	
.mssage  .img
	{ 	
		line-height: 20px;
        font-size: 13px;
        font-weight: bold;
        color: red;
		padding-left: 25px;
		background: url (../img/error.icon.png) no-repeat;
}
</style>

<div class="mssage ui-corner-all"> 
	<span class='img'></span><?php echo $message; ?>
</div>